package com.lyf.boot.modules.index.entity.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 短信接口入参
 * @author Luyufan
 * @date 2023/7/5 17:35
 */
@Data
public class SmsDto implements Serializable {

    @Serial
    private static final long serialVersionUID = 7351366185964044318L;

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    private String phoneNumber;

    /**
     * 业务场景
     */
    private String type;
}
